let fs = require('fs');
let path = require('path')

fs.watch(__dirname,(eventType,filename)=>{
    console.log('filename: ', filename);
    console.log('eventType: ', eventType);

})

fs.watch(path.resolve(__dirname,'index.js'),(eventType,filename)=>{
    console.log('filename223: ', filename);
    console.log('eventType:23 ', eventType);
})